package com.hmsg.health.service.admin;



import lombok.extern.slf4j.Slf4j;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.convert.RemoveIndexedData;
import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Transactional;

import com.hmsg.health.bean.domain.AdminUserDo;
import com.hmsg.health.bean.domain.UserAccountDo;
import com.hmsg.health.bean.domain.UserAccountRecordDo;
import com.hmsg.health.bean.domain.UserDo;
import com.hmsg.health.bean.domain.UserTaskDo;
import com.hmsg.health.dao.AdminUserDao;
import com.hmsg.health.dao.UserAccountDao;
import com.hmsg.health.dao.UserAccountRecordDao;
import com.hmsg.health.dao.UserDao;
import com.hmsg.health.dao.UserTaskDao;

@Slf4j
@Service
public class AdminUserService {
   
    @Autowired
    private AdminUserDao userDao;
   
    public AdminUserDo findOne(Integer id){
    	AdminUserDo demoDo = userDao.findOne(id);
    	
        return demoDo == null ? null : demoDo;
    }
 
    public List<AdminUserDo> select(AdminUserDo info){
    	 List<AdminUserDo> demoDo = userDao.select(info);
         return demoDo == null ? null : demoDo;
    }
    
    
   
}